export function generateTable(tableData: string[][]): HTMLTableElement {
    const table = document.createElement('table');
    for (const rowData of tableData) {
        const row = document.createElement('tr');
        for (const cellData of rowData) {
            const cell = document.createElement('td');
            cell.textContent = cellData;
            row.appendChild(cell);
        }
        table.appendChild(row);
    }
    return table;
}